package com.itheima.health.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.health.model.pojos.CheckItem;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import java.util.List;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

public interface CheckItemDao extends BaseMapper<CheckItem> {
    @Select("select  * from t_checkitem")
    List<CheckItem> selectAll();
    @Delete("delete from t_checkitem where id = #{id}")
    void deletecheckitemId(Integer id);
}
